package com.cheer.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class ReferenceDetailVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("集体Id")
    private Long applicantId;

    @ApiModelProperty("简要事迹")
    @NotNull(message = "简要事迹不能为空")
    @Max( value = 500, message = "简要事迹长度不能超过 500")
    private String achievement;

    @ApiModelProperty("推荐表")
    @NotNull(message = "推荐表不能为空")
    private DocumentVO recommend;

    @ApiModelProperty("事迹材料")
    @NotNull(message = "事迹材料不能为空")
    private DocumentVO story;

    @ApiModelProperty("工作图片")
    @NotNull(message = "工作图片不能为空")
    private List<DocumentVO> evidences;

    @ApiModelProperty("工作图片")
    private List<String> evidenceLinks;

}
